#include "PIDTurret.h"

PIDCameraX::PIDCameraX()
{
	x = 0;
}

double PIDCameraX::PIDGet()
{
	return x;
}

PIDTurretX::PIDTurretX()
{
	x = 0;
}

void PIDTurretX::PIDWrite(float output)
{
	x = output;
}

PIDHoodPot::PIDHoodPot()
{
	hoodPot = 0;
}

double PIDHoodPot::PIDGet()
{
	return hoodPot;
}

PIDHood::PIDHood()
{
	hood = 0;
}

void PIDHood::PIDWrite(float output)
{
	hood = output;
}

PIDShooterEncoder::PIDShooterEncoder()
{
	shooterEncoder = new Counter(1);
}

double PIDShooterEncoder::PIDGet()
{
	double counterValue;
	counterValue = shooterEncoder->Get();
	shooterEncoder->Reset();
	return counterValue;
}

PIDShooter::PIDShooter()
{
	shooter = 0;
}

void PIDShooter::PIDWrite(float output)
{
	shooter = output;
}

PIDTurretPot::PIDTurretPot()
{
	x = 0;
}

double PIDTurretPot::PIDGet()
{
	return x;
}

PIDTurretPotOut::PIDTurretPotOut()
{
	x = 0;
}

void PIDTurretPotOut::PIDWrite(float output)
{
	x = output;
}
PIDTrapDoorPot::PIDTrapDoorPot()
{
	trapDoorPot = 0;
}

double PIDTrapDoorPot::PIDGet()
{
	return trapDoorPot;
}

PIDTrapDoor::PIDTrapDoor()
{
	trapDoor = 0;
}

void PIDTrapDoor::PIDWrite(float output)
{
	trapDoor = output;
}

